home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Singing Fun! / Sunday Savers: Singing Fun!.iso / mac / Xtras / Buddy API 3.7 / Buddy API Docs.swf / texts / 1292.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  3.3 KB  |  125 lines

  1. 58
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. SetMultiDisplay 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baSetMultiDisplay sets the screen size and depth of multiple monitors.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = baSetMultiDisplay( Monitor, Width, Height, Depth, Refresh, Mode, Flags )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. String, integer, integer, integer, integer, string, integer. 
  36. --- RECORDSEPARATOR ---
  37. Monitor is the monitor to change. 
  38. --- RECORDSEPARATOR ---
  39. Width is the new width of the screen in pixels. 
  40. --- RECORDSEPARATOR ---
  41. Height is the new height of the screen in pixels. 
  42. --- RECORDSEPARATOR ---
  43. Depth is the new depth of the screen in bits. 
  44. --- RECORDSEPARATOR ---
  45. Refresh is the new refresh frequency. 
  46. --- RECORDSEPARATOR ---
  47. Mode is the way in which the new display is set. Can be: 
  48. --- RECORDSEPARATOR ---
  49. "temp" 
  50. --- RECORDSEPARATOR ---
  51. temporarily change the display settings. 
  52. --- RECORDSEPARATOR ---
  53. "perm" 
  54. --- RECORDSEPARATOR ---
  55. permanently change the display settings. 
  56. --- RECORDSEPARATOR ---
  57. "test" 
  58. --- RECORDSEPARATOR ---
  59. tests whether the display can be set without restarting. 
  60. --- RECORDSEPARATOR ---
  61. Flags changes options of the function.
  62. --- RECORDSEPARATOR ---
  63.  
  64. --- RECORDSEPARATOR ---
  65. Returns:
  66. --- RECORDSEPARATOR ---
  67.  
  68. --- RECORDSEPARATOR ---
  69. Integer. 
  70. --- RECORDSEPARATOR ---
  71. Returns 0 if the display was changed or can be changed without restarting. 
  72. --- RECORDSEPARATOR ---
  73. Returns 1 if Windows will need to be restarted for the change to take effect. 
  74. --- RECORDSEPARATOR ---
  75. Returns less than 0 if another error occurred, eg invalid screen size.
  76. --- RECORDSEPARATOR ---
  77.  
  78. --- RECORDSEPARATOR ---
  79. Examples:
  80. --- RECORDSEPARATOR ---
  81.  
  82. --- RECORDSEPARATOR ---
  83. Director: 
  84. --- RECORDSEPARATOR ---
  85. OK = baSetMultiDisplay( "primary", 640 , 480 , 8 , 75 , "temp" , 2 ) 
  86. --- RECORDSEPARATOR ---
  87. Authorware: 
  88. --- RECORDSEPARATOR ---
  89. OK := baSetMultiDisplay( "primary", 640 , 480 , 8 , 75 , "temp" , 2 )
  90. --- RECORDSEPARATOR ---
  91.  
  92. --- RECORDSEPARATOR ---
  93. Notes:
  94. --- RECORDSEPARATOR ---
  95.  
  96. --- RECORDSEPARATOR ---
  97. Monitor is the name of the monitor to change, eg: "\\.\DISPLAY1". You can get a list 
  98. --- RECORDSEPARATOR ---
  99. of the current monitors by calling baMultiDisplayList. You can use a value of 
  100. --- RECORDSEPARATOR ---
  101. "primary" to set the primary display without knowing its name, and "secondary" to 
  102. --- RECORDSEPARATOR ---
  103. change the secondary display. 
  104. --- RECORDSEPARATOR ---
  105. There are 2 flags defined: 
  106. --- RECORDSEPARATOR ---
  107. --- RECORDSEPARATOR ---
  108. Force. Forces the display to change even if it doesn't support changing. Use 
  109. --- RECORDSEPARATOR ---
  110. with caution. 
  111. --- RECORDSEPARATOR ---
  112. --- RECORDSEPARATOR ---
  113. Reset. When the projector quits, the screen settings will be reset to their 
  114. --- RECORDSEPARATOR ---
  115. original values. Using this flag means there is no need for you to restore the 
  116. --- RECORDSEPARATOR ---
  117. display before you quit the projector. All displays in the system will be reset, 
  118. --- RECORDSEPARATOR ---
  119. not just the display specified in the function.
  120. --- RECORDSEPARATOR ---
  121.  
  122. --- RECORDSEPARATOR ---
  123. (continued next page)